package cn.iocoder.yudao.module.book.controller.admin.inventory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 库存 Response VO")
@Data
@ExcelIgnoreUnannotated
public class InventoryRespVO {

    @Schema(description = "库存ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3088")
    @ExcelProperty("库存ID")
    private Long id;

    @Schema(description = "图书ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30602")
    @ExcelProperty("图书ID")
    private Long bookId;

    @Schema(description = "总册数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("总册数")
    private Integer totalCopies;

    @Schema(description = "可借册数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("可借册数")
    private Integer availableCopies;

    @Schema(description = "预警阈值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警阈值")
    private Integer threshold;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}